package cn.zhaoyuening.fanblog.common.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by Buynow on 2017/8/17.
 */
@Entity
public class BlogUser {
    @Id
    private String username;
    @Column(nullable = false)
    private String password;


    public String getUsername() {
        return username;
    }

    public BlogUser setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public BlogUser setPassword(String password) {
        this.password = password;
        return this;
    }
}
